export const widgetDevice = {
  code: 'widget-device',
  type: 'other',
  tabName: '其他',
  label: '被监测设备组件',
  options: {
    // 配置
    setup: {
      layerName: '被监测设备',
      backgroundColor: 'rgba(6,25,82,.6)',
      pointsFontColor: '#ffff00',
      pointsFontSize: 10
    },
    data: {
      taskId: '',
      monitorDevice: {
        fileType: 2,
        devicePic: '/transModel.gltf'
        // fileType: 1,
        // devicePic: '/img-picker.png'
      },
      pointsData: [
        {
          data: {
            measureData: { name: '测点1', positionX: 0.2519, positionY: 0.9279, positionZ: 0.9403 }
          }
        },
        {
          data: {
            measureData: { name: '测点2', positionX: -0.9486, positionY: 0.6119, positionZ: 0.4675 }
          }
        }
      ]
      // pointsData: [
      //   {
      //     data: {
      //       measureData: { name: '测点1', positionX: 300, positionY: 600, positionZ: 0.9403 }
      //     }
      //   },
      //   {
      //     data: {
      //       measureData: { name: '测点2', positionX: 600, positionY: 600, positionZ: 0.4675 }
      //     }
      //   }
      // ]
    },
    position: {
      left: 0,
      top: 0,
      width: 400,
      height: 300
    }
  }
}
